//package com.chenl.provider.DEMOS.Spring.幂等注解.config;
//
//import com.chenl.provider.DEMOS.Spring.幂等注解.Interceptor.MyInterceptor;
//import org.springframework.core.annotation.Order;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
//@Order(2)
////@Configuration
//public class InterceptorConfig implements WebMvcConfigurer {
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new MyInterceptor())
//                .addPathPatterns("/**");
//    }
//}
